package com.smc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@SpringBootApplication
@ServletComponentScan
@EnableAutoConfiguration
public class MgmtApplication {
        

    public static void main(String[] args) {
        SpringApplication.run(MgmtApplication.class, args);
        loadEvent();
    }

    private static void loadEvent() {

        StringBuilder sb = new StringBuilder();
        sb.append("\r\n======================================================================\r\n");
        sb.append("\r\n    欢迎使用 " + " Spring Mgmt Service" + "  - Powered By https://www.lkcode.com\r\n");
        sb.append("\r\n======================================================================\r\n");
        // System.out.println(sb.toString());
        log.info("\r\n{}\r\n", sb);

    }

}
